<?php session_start(); if($_SESSION['properlogin'] != 1){ header("Location:error.html"); } ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>View Information</title>
<script type="text/javascript" src="validateInformation.js" ></script>


<link href="style.css" rel="stylesheet" type="text/css" />
<style type="text/css">
#search {
	text-align: left;
}
</style>
</head>

<body>
<table width="100%" border="0" cellpadding="1">
 
  <tr>
    <td>&nbsp;</td>
    <td class="subBanner"><strong> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;View Appliance Record</strong></td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td><form id="form1" name="form1" method="post" action="" >
      <table width="100%" border="0" cellpadding="1">
        <tr>
          <td>&nbsp;</td>
          <td>&nbsp;</td>
          <td class="error" id="lname16">&nbsp;</td>
        </tr>
        <tr>
          <td width="34%">&nbsp;</td>
          <td width="43%">&nbsp;</td>
          <td >&nbsp;</td>
        </tr>
        <tr>
          <td id="search">&nbsp;</td>
          <td id="search"><b>SEARCH BY:</b>
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            <input name="sButton" type="submit" id="sButton" value="Student Number"/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<input name="nButton" type="submit" id="nButton" value="Name"/></td>
          <td width="23%" class="error" id="lname2">&nbsp;</td>
        </tr>
        </table>
    </form></td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
</table>
</body>
</html>
<?php
	if(isset($_POST['sButton'])){
		header("Location:enterSnum5.php");
	}else if(isset($_POST['nButton'])){
		header("Location:enterName5.php");
	}
?>